package cn.touna.jss.modules.third.sifa.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.facet.First;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 请求参数实体类
 */
public class SiFaRequestEntity {

    @NotBlank(message = "身份证号不能为空", groups = {First.class})
    @IdCard(message = "身份证号码格式不对", groups = {First.class})
    private String idCard;

    @NotBlank(message = "姓名不能为空", groups = {First.class})
    private String name;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}